<%@ Page Language="vb" AutoEventWireup="false" CodeFile="DNNMultiStateBox.aspx.vb" Inherits="DNNMultiStateBox" MasterPageFile="~/MasterPage.master"%>
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.UI.WebControls" Assembly="DotNetNuke.WebControls" %>
<asp:content id="header" contentplaceholderid="HeaderPlaceHolder" runat="Server">
    <link href="DNNMultiStateBox.css" type="text/css" rel="stylesheet">
    <script language="javascript" src="js/common.js"></script>
    <script language="javascript">
	        var m_sNS = '<%=txtStatus.NamingContainer.ClientID%>';
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <table class="sectiontable">
        <tbody>
            <tr>
                <th>
                    DNNMultiStateBox</th>
                <th>
                    Details</th>
            </tr>
            <tr>
                <td class="treecontainer" valign="top" nowrap>
                    <div style="width: 250px; height: 600px" runat="server" id="divContainer">
                        <br /><dnn:DNNMultiStateBox ID="MyDNNMultiStateBox1" runat="server" ImagePath="~/images/">
                            <States>
                                <dnn:DNNMultiState Key="Null" ImageUrl="null.gif" Text="Its Null" ToolTip="Nada, nill, zilch!" />
                                <dnn:DNNMultiState Key="Unchecked" ImageUrl="unchecked.gif" Text="Its Unchecked" ToolTip="Not selected!" />
                                <dnn:DNNMultiState Key="Checked" ImageUrl="checked.gif" Text="Its Checked" ToolTip="Way to go!" />
                            </States>
                        </dnn:DNNMultiStateBox>
                        <br /><hr />
                        This one tests blank text<br /><dnn:DNNMultiStateBox ID="MyDNNMultiStateBox2" runat="server" ImagePath="~/images/">
                            <States>
                                <dnn:DNNMultiState Key="Null" ImageUrl="null.gif" ToolTip="Nada, nill, zilch!" />
                                <dnn:DNNMultiState Key="Unchecked" ImageUrl="unchecked.gif" ToolTip="Not selected!" />
                                <dnn:DNNMultiState Key="Checked" ImageUrl="checked.gif" ToolTip="Way to go!" />
                            </States>
                        </dnn:DNNMultiStateBox>
                        <br /><hr />
                        This tests dynamic and 4 states<br />                        
                    </div>
                </td>
                <td valign="top">
                    <table class="sectiontable">
                        <tr>
                            <td>
                                <asp:Label ID="lblEventDetails" runat="server" Height="200px" Width="100%" BorderWidth="1px"
                                    BorderStyle="Solid"></asp:Label></td>
                        </tr>
                        <tr>
                            <th>
                                Settings</th>
                        </tr>
                        <tr>
                            <td>
                                <table class="sectiontable">
                                    <tr>
                                        <td>
                                            <input id="btnPostBack" type="button" value="Do PostBack" runat="server"></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <th>
                                Status</th>
                        </tr>
                        <tr>
                            <td>
                                <textarea id="txtStatus" name="txtStatus" rows="10" cols="70" runat="server"></textarea>
                            </td>
                        </tr>
                    </table>
                    <iframe id="MyTarget" name="MyTarget" width="100%"></iframe>
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>
